<body>
<div class="path fn-clear"><span class="fb">首页</span>{$path}</div>
<div class="ui-form">
<form id="form" action="{url('article/save')}" method="post">
<input type="hidden" name="fid" value="{$fid}"/>
<input type="hidden" name="mid" value="{$mid}"/>
<table>
    <tr><th>栏目和特性:</th><td>
<div class="select-box">
    <a href="###" class="select-button tipa">-- 选择所在栏目 -- <i class="iconfont select-down">&#xF03C;</i></a>
    <div class="select-list select-a"><ul id="mytreechannel">{model('channel')->CreateClassTree($rootid,$cid)}</ul></div>
</div>
<div class="select-box">
    <a href="###" class="select-button tipb">-- 选择资源特性 -- <i class="iconfont  select-down">&#xF03C;</i></a>
    <div class="select-list select-b"><ul id="mytreespecial">{model('special')->CreateSpecialTree($rootid)}</ul></div>
</div>
    </td></tr>
    <tr><th>内容标题:</th><td><input datatype="*" nullmsg="标题必须填写" type="text" class="input w400" name="title" value="" />
    <input readonly="readonly"  type="text" name="fontcolor"  class="input w60 ui-color" /><span class="fn-f14 gray">颜色</span>
    </td></tr>
    <tr><th>内容属性:</th><td>排序&nbsp;&nbsp;<input datatype="n" name="sort" type="text" class="input w50" value="0" />&nbsp;&nbsp;浏览量&nbsp;&nbsp;<input datatype="n" name="views" type="text" class="input w50" value="0" />&nbsp;&nbsp;责任编辑&nbsp;&nbsp;<input readonly="readonly" datatype="*" nullmsg="请输入责任编辑" name="editor" type="text" class="input w50" value="{$editor}" /></td></tr>
    <tr><th>URL跳转:</th><td><input type="text" class="input w400" name="url" value="" /></td></tr>
    {loop $module $vo}
    <tr><th>{$vo['title']}:</th><td>{$vo['input']} <span class="gray">{$vo['msg']}</span></td></tr>
    {/loop}  
</table>
<div class="btn fn-tac">
    <input type="submit" value="确定保存" class="button button-blue" />
    <input type="reset" value="重置" class="button button-yellow" />
</div>
</form>
</div>
<script type="text/javascript">
Do('base','Dialog','Form','Editor','Tree','Tip','DatePicker','Color',function(){ 
    $(".tipa").powerFloat({target: $(".select-a")});
    $(".tipb").powerFloat({target: $(".select-b")});
    $("#mytreechannel").treeview({collapsed: true,animated: "medium",control:"#sidetreechannel",persist: "location"});
    $("#mytreespecial").treeview({collapsed: true,animated: "medium",control:"#sidetreespecial",persist: "location"});
    //表单综合处理
    $('#form').cpFormPage({ajaxpost:1});
})      
</script>
</body>